NuclearEngagement\Services\ThemeValidator S

Total Complexity 38
Dependencies 0
Dependents 1
Total lines 234
Lines of code 137
Logical lines of code 74
Comment lines 4
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
validate_component()
S
54 6 21
validate_property_value()
S
59 5 15
sanitize_property_value()
S
60 5 15
validate_theme_name()
S
61 4 13
is_valid_color()
S
54 3 24
sanitize_config()
S
65 4 9
validate_theme_config()
S
63 3 11
sanitize_component_settings()
S
63 3 10
is_valid_size()
S
79 1 3
is_valid_font_weight()
S
72 1 4
is_valid_component()
S
79 1 3
add_error()
S
80 1 3
get_validation_result()
S
71 1 6